<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台管理系统导航菜单</title>
<link href="__CSS__/menu.css" rel="stylesheet" type="text/css">
<style type="text/css">
html {
	overflow-x: hidden;
	overflow-y: hidden;
}
</style>
</head>
<body style="height: 620px;">
<div id="boxscroll">
  <div id="main_box">
    <div>
      <ul class="topnav" id="topnav">
        <!-- 一级节点 -->
        <volist name="auth_infop" id="v">
          <li><a href="#" class="par_node" target="mainFrame"> <span class="ed"></span><span class="pic"> <img src="__IMG__/<{$key}>.png"></span><{$v.auth-name}></a>
            <ul>
              <!-- 二级节点 -->
              <volist name="auth_infoc" id="x">
                <eq name="x.pid" value="$v['id']">
                  <li> <a href="__APP__/Admin/<{$x.auth-c}>/<{$x.auth-a}>" class="first tl_1001000000" target="mainFrame"><{$x.auth-name}><!--<{$i}>--></a> </li>
                </eq>
              </volist>
            </ul>
          </li>
        </volist>
      </ul>
    </div>
  </div>
</div>
<script type="text/javascript" src="__JS__/jquery-1.5.2.min.js"></script> 
<script type="text/javascript" src="__JS__/scriptbreaker-multiple-accordion-1.js"></script> 
<script type="text/javascript" src="__JS__/jquery.nicescroll.js"></script> 
<script type="text/javascript" src="__JS__/smartFloat.js"></script> 
<script type="text/javascript">//<![CDATA[
var sh = $(window).height();
$(document).ready(function() {
	$(".topnav").accordion({
		accordion: true,
		speed: 500,
		closedSign: '<img src="__IMG__/collapsed.png" />',
		openedSign: '<img src="__IMG__/expanded.png" />'
	});

	/*var div=document.getElementById("title");
	var w = getStyle(div,'marginTop');
	$("#title").smartFloat(w);*/

	if ($.browser.msie && $.browser.version == 6) { //IE6.0
		$("#boxscroll").animate({height: sh});
		$("#boxscroll").niceScroll("#main_box", {touchbehavior:false,  
													  cursorcolor:"#0066FF",  
													  cursoropacitymax:0.6,  
													  cursorwidth:5,  
													  horizrailenabled:false,  
													  cursorborderradius:4,
													  autohidemode:true});
		$(".par_node", "#topnav").click(function(){
			$("body").animate({scrollTop:0}, function(){$("#boxscroll").getNiceScroll().onResize();});
		});
	} else {
		$("body").animate({height: sh});
		$("body").niceScroll({touchbehavior:false,  
										  cursorcolor:"#0066FF",//"#00A7FF",  
										  cursoropacitymax:0.6,  
										  cursorwidth:5,  
										  horizrailenabled:false,  
										  cursorborderradius:4,
										  autohidemode:true});
		$(".par_node", "#topnav").click(function(){
			var hh = this.offsetTop;
			$("body").animate({scrollTop:hh}, function(){$(this).getNiceScroll().onResize();});
		});
	}
	  
	
		var id = "1000000000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1001000000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1001003000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1006000000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1006001000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1006002000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1007000000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1007001000";
		$('.tl_' + id).live('click', function(){				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1007004000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1007005000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1007006000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "1007008000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "9008000000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "9008004000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "9009000000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "9009003000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	
		var id = "9009004000";
		$('.tl_' + id).live('click', function(){
				$("a").removeClass("selected");
				$(this).addClass("selected");
			}
		);  
	

	$("a").not(".par_node").click(function(){
		try {
			top.mainFrame.window.document.body.innerHTML = '<div style="font-size:14px;color:#999;text-align:left;margin-top:10px;margin-left:10px;font-family:\'微软雅黑\',\'宋体\';font-style:italic;">服务器正在响应您的请求，请稍候... ...</div>'
		} catch(e) {};
	});
	
});
//]]></script>

</body>
</html>